squares = list(range(3, 30, 3))
for value in squares:
    print(value)
